﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace XML_Programming_Assignment_Thandar_.Class
{
    class Product : QuotationItem
    {
        string productID = "";
        string name = "";
        string manufacturer = "";
        string category = "";
        string description = "";
        double unitprice = 0.0;

        public Product()
        {
            productID = "";
            name = "";
            manufacturer = "";
            category = "";
            description = "";
            unitprice = 0.0;
        }

        public Product(string product_id, double price, int quantity)
        {
            this.productID = product_id;
            this.unitprice = price;
            this.Quantity = quantity;
        }

        public string ProductID
        {
            get { return productID; }
            set { productID = value; }
        }

        public string Name
        {
            get { return name; }
            set { name = value; }
        }

        public string Manufacturer
        {
            get { return manufacturer; }
            set { manufacturer = value; }
        }

        public string Category
        {
            get { return category; }
            set { category = value; }
        }

        public string Description
        {
            get { return description; }
            set { description = value; }
        }

        public double UnitPrice
        {
            get { return unitprice; }
            set { unitprice = value; }
        }
    }
}
